/*
 * Project Name:hbm-base.
 * File Name:CsSmNoticeService.java
 * Package Name:com.hginfo.cs.base.service.cs
 * Date:2018年04月24日 下午3:58:49
 * Copyright (c) 2016, hongguaninfo.com All Rights Reserved.
 *
 */
package cn.uce.sms.api.service.biz;

import cn.uce.base.page.Page;
import cn.uce.base.page.Pagination;
import cn.uce.sms.entity.CsSmNotice;
import cn.uce.sms.vo.CsSmNoticeVo;

import java.util.List;

/**
 * 公告表: cs_sm_notice. <br />
 * service interface 层 <br />
 * Date: 2018年04月24日 下午3:58:49 <br />
 *
 * @author you
 * @since V1.0.0
 */
public interface ICsSmNoticeBiz{

    /**
     * 获取最新的公告
     * @return CsSmNotice
     */
    List<CsSmNoticeVo> getNewCsSmNotice();

    Pagination<CsSmNoticeVo> getList(CsSmNoticeVo csSmNoticeVo, Page page);

    CsSmNotice findById(Long id);

    int deleteById(Long id);

    int updateById(String idStr, Integer isPublish);

    CsSmNotice seeCsSmNotice(Long id);

}
